import java.util.Scanner;
public class J1502 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        while (in.hasNextInt()) {
            int a = in.nextInt();
            for(int i = 1;i <= a;i++){
                for(int j = 1;j <= a;j++){
                    if(i == j || j + i == a+1){
                        System.out.print('*');
                    }else{
                        System.out.print(" ");
                    }
                }
                System.out.println();
            }
        }
    }
}
